package com.ruoyi.message.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 好友对象 friend
 * 
 * @author ruoyi
 * @date 2023-10-15
 */
public class Friend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 本人id */
    @Excel(name = "本人id")
    private Long userId;

    /** 好友id */
    @Excel(name = "好友id")
    private Long friendId;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFriendId(Long friendId) 
    {
        this.friendId = friendId;
    }

    public Long getFriendId() 
    {
        return friendId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("friendId", getFriendId())
            .toString();
    }
}
